package org.lee.domain.model.vo;

import lombok.Getter;

/**
 * RuleType
 * 规则类型
 * @author dralee
 * @date 2021-11-22 14:49:04
 **/
@Getter
public enum RuleLimitType {
    // 1:=;2:>;3:<;4:>=;5<=;6:enum[枚举范围]
    EQUALS(0, "="),
    GT(1, ">"),
    LT(2, "<"),
    GTE(3, ">="),
    LTE(4, "<="),
    ENUMS(5, "enum"),
    ;

    private int code;
    private String name;

    RuleLimitType(int code, String name) {
        this.code = code;
        this.name = name;
    }
}
